<?php
/*
Plugin Name: CollegePress
Plugin URI: http://www.hackcollege.com/collegepress
Description: A plugin suite for college newspapers
Author: (Michael) Kelly Sutton
Author URI: http://www.michaelkellysutton.com
Version: 0.1
*/

require_once (dirname(__FILE__) . '/collegepress_menu_home.php');
require_once (dirname(__FILE__) . '/collegepress_menu_advertising.php');

	
//Hook us in to the WordPress admin menu
add_action('admin_menu', 'collegepress_menus');



//Adding the control panel to the top-level Wordpress menu


//Generate the menus	
function collegepress_menus(){

	if (function_exists('add_menu_page')){
		add_menu_page('CollegePress Admin Page', 'CollegePress Home', 8, __FILE__, 'collegepress_menu_home', 'home');
	}
	if (function_exists('add_submenu_page')){
		add_submenu_page(__FILE__, 'CollegePress Advertising Home', 'Advertising', 8, 'collegepress_home', 'collegepress_menu_advertising'); 
	}

}

	
?>